package sspersonserver.subjects;

/**
 * Created by IntelliJ IDEA.
 * User: Double
 * Date: 28.01.12
 * Time: 21:40
 * To change this template use File | Settings | File Templates.
 */
public class Address
{
	private int id;
	private int ownerid;
	private City city;
	private Country country;
	private Street street;
	private String build;

	public Address(int id, int ownerid, City city, Country country, Street street, String build)
	{
		this.id = id;
		this.ownerid = ownerid;
		this.city = city;
		this.country = country;
		this.street = street;
		this.build = build;
	}

	public int getId()
	{

		return id;
	}

	public void setId(int id)
	{
		this.id = id;
	}

	public int getOwnerid()
	{
		return ownerid;
	}

	public void setOwnerid(int ownerid)
	{
		this.ownerid = ownerid;
	}

	public City getCity()
	{
		return city;
	}

	public void setCity(City city)
	{
		this.city = city;
	}

	public Country getCountry()
	{
		return country;
	}

	public void setCountry(Country country)
	{
		this.country = country;
	}

	public Street getStreet()
	{
		return street;
	}

	public void setStreet(Street street)
	{
		this.street = street;
	}

	public String getBuild()
	{
		return build;
	}

	public void setBuild(String build)
	{
		this.build = build;
	}
}
